package model

import (
	"gorm.io/gorm"
)

type Query struct {
	// binding:"required"修饰的字段，若接收为空值，则报错，是必须字段
	Limit int
	Page  int
	Query map[string]interface{}
}
type User struct { //用户表
	gorm.Model
	Username string
	Top      string
	Desc     string
	Name     string
	Phone    int
	Vip      int
	Password string
	Age      int
	Six      string
}

type Other struct { //用户表
	gorm.Model
}
type Userfrieds struct { //用户表
	gorm.Model
	Userid   int
	List     string
	Nickname string
	Username string
	Phone    int
	Miss     int
	Pid      int
	Top      string
}
